package com.springcloudalibaba.openfeign.service;

import com.springcloudalibaba.openfeign.fallback.OpenFeignTestServiceFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * Fegin接口定义
 */
@FeignClient(value = "${provider.name}", fallback = OpenFeignTestServiceFallback.class)
public interface OpenFeignTestService {
    @RequestMapping(value = "/openFeignProviderTest", method = RequestMethod.GET)
    String openFeignProviderTest();
}
